package com.swu.pad.comment.service;

import java.util.List;

import com.swu.pad.comment.entity.Comment;

public interface CommentService {
	/**
	 * 获取作业pad的评论
	 */
	public List<Comment> getComment(String assignmentPadId);

	/**
	 * 新增或更新评论
	 * @param comment
	 */
	public Comment saveOrUpateComment(Comment comment);

	/**
	 * 删除评论
	 * @param commentId
	 */
	public void deleteComment(String commentId);
}
